package vsfsfs5;
class Anibmal {
    void shout(){
        System.out.println("动物叫");
    }
    public String toString(){
        return "我是一个动物类";
    }
}
class Example1_19 {
    public static void main(String[] args) {
        Anibmal animal = new Anibmal();
        System.out.println(animal.toString());
    }
}